package com.right.health.app.ui.common.adapter;

import android.content.Context;
import android.view.View;
import android.view.ViewGroup;

import com.magic.basic.adapter.BaseAbsAdapter;
import com.right.health.app.R;

/*
 * Created by hopeliao on 2019-10-02
 *
 */
public class SearchDoctorAdapter extends BaseAbsAdapter<String> {
    public SearchDoctorAdapter(Context context) {
        super(context);
    }

    @Override
    public View getView(int position, View convertView, ViewGroup parent) {
        ViewHolder viewHolder = null;
        if(convertView == null) {
            convertView = mInflater.inflate(R.layout.search_doctor_item, null);
            viewHolder = new ViewHolder();

            convertView.setTag(viewHolder);
        } else {
            viewHolder = (ViewHolder) convertView.getTag();
        }
        return convertView;
    }

    private class ViewHolder {
    }
}
